/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package entities;

import java.util.Date;

/**
 *
 * @author Admin
 */
public class StaffDetail {

    private int staffID;
    private String staffFName;
    private String staffLName;
    private String staffPassword;
    private Date staffDOJ;
    private String staffAddress;
    private String staffPhone;
    private boolean staffGender;
    private Date staffDOB;
    private String staffEduQual;
    private String staffTechSkill;
    private String staffUsername;

    public StaffDetail(int staffID, String staffFName, String staffLName, String staffPassword, Date staffDOJ, String staffAddress, String staffPhone, boolean staffGender, Date staffDOB, String staffEduQual, String staffTechSkill, String staffUsername) {
        this.staffID = staffID;
        this.staffFName = staffFName;
        this.staffLName = staffLName;
        this.staffPassword = staffPassword;
        this.staffDOJ = staffDOJ;
        this.staffAddress = staffAddress;
        this.staffPhone = staffPhone;
        this.staffGender = staffGender;
        this.staffDOB = staffDOB;
        this.staffEduQual = staffEduQual;
        this.staffTechSkill = staffTechSkill;
        this.staffUsername = staffUsername;
    }

    public StaffDetail() {
    }

    public String toString() {
        if (this.staffFName != null && this.staffLName != null) {
            return (this.staffFName + " " + this.staffLName);
        } else {
            return "-----";
        }
    }

    public String getStaffUsername() {
        return staffUsername;
    }

    public void setStaffUsername(String staffUsername) {
        this.staffUsername = staffUsername;
    }

    public String getStaffAddress() {
        return staffAddress;
    }

    public void setStaffAddress(String staffAddress) {
        this.staffAddress = staffAddress;
    }

    public Date getStaffDOB() {
        return staffDOB;
    }

    public void setStaffDOB(Date staffDOB) {
        this.staffDOB = staffDOB;
    }

    public Date getStaffDOJ() {
        return staffDOJ;
    }

    public void setStaffDOJ(Date staffDOJ) {
        this.staffDOJ = staffDOJ;
    }

    public String getStaffEduQual() {
        return staffEduQual;
    }

    public void setStaffEduQual(String staffEduQual) {
        this.staffEduQual = staffEduQual;
    }

    public String getStaffFName() {
        return staffFName;
    }

    public void setStaffFName(String staffFName) {
        this.staffFName = staffFName;
    }

    public boolean isStaffGender() {
        return staffGender;
    }

    public void setStaffGender(boolean staffGender) {
        this.staffGender = staffGender;
    }

    public int getStaffID() {
        return staffID;
    }

    public void setStaffID(int staffID) {
        this.staffID = staffID;
    }

    public String getStaffLName() {
        return staffLName;
    }

    public void setStaffLName(String staffLName) {
        this.staffLName = staffLName;
    }

    public String getStaffPassword() {
        return staffPassword;
    }

    public void setStaffPassword(String staffPassword) {
        this.staffPassword = staffPassword;
    }

    public String getStaffPhone() {
        return staffPhone;
    }

    public void setStaffPhone(String staffPhone) {
        this.staffPhone = staffPhone;
    }

    public String getStaffTechSkill() {
        return staffTechSkill;
    }

    public void setStaffTechSkill(String staffTechSkill) {
        this.staffTechSkill = staffTechSkill;
    }
}
